package com.zlf.service;

import com.zlf.entity.UserEntity;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zhanglongfei
 * @since 2021-05-24
 */
public interface UserService extends IService<UserEntity> {

    /**
     * 用户注册
     */
    void register(UserEntity user);

    /**
     * 根据用户名获取用户
     */
    UserEntity findUserByUserName(String userName);

}
